Skip to content

chore: migrate to vitest, enable zoneless, pin deps#10

Merged
jmclellan-crexi merged 26 commits intomainfrom
chore/nx-migration
Apr 6, 2026
Merged

chore: migrate to vitest, enable zoneless, pin deps#10
jmclellan-crexi merged 26 commits intomainfrom
chore/nx-migration

Conversation

@jmclellan-crexi
Copy link
Copy Markdown
Collaborator

Summary

  • App restructure: Replaced angular-task scaffold with web, api (NestJS), and e2e apps
  • Jest → Vitest: Migrated unit testing to Vitest using @analogjs/vitest-angular and @nx/vitest executor; removed all Jest dependencies (jest, @types/jest, jest-preset-angular, ts-jest, @nx/jest, etc.)
  • Zoneless Angular: Switched from provideZoneChangeDetection() to provideZonelessChangeDetection() and configured testbed with zoneless: true
  • Pinned dependencies: Removed all ^ and ~ version prefixes, pinning every dependency to its currently resolved version
  • Nx config updates: Updated nx.json generator defaults to use vitest as the unit test runner for new projects

Test plan

  • nx test web passes (2/2 tests)
  • Verify nx serve web works with zoneless change detection
  • Verify nx e2e e2e passes
  • Verify nx serve api starts correctly

🤖 Generated with Claude Code

jmclellan-crexi and others added 26 commits April 6, 2026 09:28
- Replace angular-task scaffold with web, api, and e2e apps
- Convert unit testing from Jest to Vitest using @analogjs/vitest-angular
- Switch to zoneless change detection via provideZonelessChangeDetection()
- Pin all package.json dependency versions (remove ^ and ~ prefixes)
- Remove all Jest dependencies and configuration files
- Update nx.json generators to default to vitest for new projects

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jmclellan-crexi jmclellan-crexi merged commit 5291f7f into main Apr 6, 2026
1 check passed
@jmclellan-crexi jmclellan-crexi deleted the chore/nx-migration branch April 6, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant